programming4us
           
 
 
Windows

Windows 7: Managing Your Hardware with Device Manager (part 3) - Configuring Windows to Ignore Unsigned Device Drivers

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/29/2010 8:04:13 PM

Configuring Windows to Ignore Unsigned Device Drivers

Device drivers that meet the Designed for Windows 7 specifications have been tested for compatibility with Microsoft and are then given a digital signature. This signature tells you that the driver works properly with Windows and that it hasn’t been changed since it was tested. (For example, the driver hasn’t been infected by a virus or Trojan horse program.) When you’re installing a device, if Windows 7 comes across a driver that has not been digitally signed, it displays a dialog box similar to the one shown in Figure 3.

Figure 3. Windows 7 displays a dialog box similar to this one when it comes across a device driver that does not have a digital signature.


If you click Don’t Install This Driver Software, Windows aborts the driver installation, and you won’t be able to use the device. This is the most prudent choice in this situation because an unsigned driver can cause all kinds of havoc, including lock-ups, BSODs (blue screens of death), and other system instabilities. You should check the manufacturer’s website for an updated driver that’s compatible with your version of Windows, or you can upgrade to newer hardware that’s supported by your version of Windows.

However, although not installing an unsigned driver is the prudent choice, it’s not the most convenient choice because, in most cases, you probably want to use the device now rather than later. The truth is that most of the time these unsigned drivers cause no problems and work as advertised, so it’s probably safe to continue with the installation. In any case, Windows always sets a restore point prior to the installation of an unsigned driver, so you can always restore your system to its previous state should anything go wrong.

Note

Test your system thoroughly after installing the driver: Use the device, open and use your most common applications, and run some disk utilities. If anything seems awry, roll back the driver, as described in the previous section. If that doesn’t work, use the restore point to roll back the system to its previous configuration.


By default, Windows gives you the option of either continuing or aborting the installation of the unsigned driver. You can change this behavior to automatically accept or reject all unsigned drivers by following these steps:

1.
In Windows 7, select Start, type gpedit.msc, and press Enter to launch the Local Group Policy Object Editor.

Note

If you’re running a version of Windows 7 that doesn’t come with the Group Policy Editor, I’ll show you a bit later how to perform this tweak using the Registry.

2.
Open the User Configuration\Administrative Templates\System\Driver Installation branch.

3.
Double-click the Code Signing for Device Drivers policy. Windows displays the Code Signing for Device Drivers Properties dialog box.

4.
Click Enable.

5.
Use the When Windows Detects a Driver File Without a Digital Signature list to select one of the following items (see Figure 4):

  • Ignore— Choose this option if you want Windows 7 to install all unsigned drivers.

  • Warn— Choose this option if you want Windows 7 to warn you about an unsigned driver by displaying the dialog box shown earlier in Figure 3.

  • Block— Choose this option if you do not want Windows 7 to install any unsigned drivers.

Figure 4. Enable the Code Signing for Device Drivers policy, and then choose what you want Windows 7 to do when it comes across an unsigned driver.


6.
Click OK.

Tip

There are some device drivers that Windows 7 knows will cause system instabilities. Windows 7 will simply refuse to load these problematic drivers, no matter which action you choose in the Driver Signing Options dialog box. In this case, you’ll see a dialog box similar to the one in Figure 22.3, except this one tells you that the driver will not be installed, and your only choice is to cancel the installation.


If your version of Windows 7 doesn’t support the Local Group Policy Editor, follow these steps to set the driver signing options via the Registry:

1.
Select Start, type regedit, press Enter, and then enter your User Account Control credentials. Windows 7 launches the Registry Editor.

2.
Navigate to the following key:

HKCU\Software\Policies\Microsoft\

3.
If you don’t see a Windows NT key, select Edit, New, Key, type Windows NT, and click OK.

4.
Select Edit, New, Key, type Driver Signing, and click OK.

5.
Select Edit, New, DWORD, type BehaviorOnFailedVerify, and click OK.

6.
Double-click the BehaviorOnFailedVerify setting to open it for editing.

7.
Type one of the following values:

  • 1— (Ignore) Use this value if you want Windows 7 to install all unsigned drivers.

  • 2— (Warn) Use this value if you want Windows 7 to warn you about an unsigned driver by displaying the dialog box shown earlier in Figure 22.3.

  • 3— (Block) Use this value if you do not want Windows 7 to install any unsigned drivers.

8.
Click OK.
Other -----------------
- SOA with .NET and Windows Azure: WCF Extensions - WCF Transactions (part 2)
- SOA with .NET and Windows Azure: WCF Extensions - WCF Transactions (part 1)
- Windows 7: Recovering from a Problem
- Windows 7: Troubleshooting Tools (part 3) - Checking for Solutions to Problems
- Windows 7: Troubleshooting Tools (part 2) - Running the Memory Diagnostics Tool
- Windows 7: Troubleshooting Tools (part 1) - Running the Windows 7 Troubleshooters
- Windows Vista : User Account Control
- Windows 7 : Troubleshooting Strategies - Determining the Source of a Problem (part 3)
- Windows 7 : Troubleshooting Strategies - Determining the Source of a Problem (part 2)
- Windows 7 : Troubleshooting Strategies - Determining the Source of a Problem (part 1)
- Windows 7 : Enabling MAC Address Filtering
- Windows 7 : Changing the Default SSID
- Windows 7 : Disabling Network SSID Broadcasting
- Windows 7 : Encrypting Wireless Signals with WPA
- Windows 7 : Positioning the Access Point for Maximum Security
- SOA with .NET and Windows Azure : WCF Extensions - WCF Security
- Windows 7 : Specifying a New Administrative Password
- Windows 7 : Displaying the Router’s Setup Pages
- Windows 7 : Preventing Users from Logging On at Certain Times
- Windows 7 : Removing Stored Remote Desktop Credentials
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us